package com.ruoyi.maode.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 零部件批次测量实体类
 * @author zhangwenqiang
 */
@Data
@Accessors(chain = true)
@TableName("part_measure")
@ApiModel(value = "PartMeasure对象", description = "零部件批次测量表")
public class PartMeasure{

    @ApiModelProperty("测量ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("实测值")
    private String value;

    @ApiModelProperty("尺寸ID")
    private Long sizeId;

    @ApiModelProperty("判定结果，0-不合格，1-合格")
    private String result;

    @ApiModelProperty("质检员ID")
    private Long inspectorId;

    @ApiModelProperty("批次ID")
    private Long partBatchId;

    @ApiModelProperty("零件ID")
    private Integer partId;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;



}
